<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>宝宝展示 - 武汉首届幼儿达人秀</title>
<meta name="keywords" content="宝宝展示,幼儿达人秀,巢上城" />
<meta name="author" content="广厦同祥,周纯" />
<link href="/src/vote/1/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/src/jquery.js"></script>
<script type="text/javascript" src="/src/jquery.web.js"></script>
</head>

<body>
<div class="wrap2">
<?php $this->load->view('header');?>
	<div class="area">
		<div class="show">
			<div class="inner1">
				<div class="inner2">
					<div class="inner3">
						<div class="fl">
							<div class="tt">
								<div class="pic-title"><img src="/src/vote/1/t2_1.jpg" alt="宝宝展示" title="宝宝展示" /></div>
								<div class="kind"><a href="http://darenshow.lovenest.cn/work/all"><?= ($tid == '' or $this->uri->segment(3) == 'page') ? '<strong>所有作品</strong>' : '所有作品' ?></a> | <a href="http://darenshow.lovenest.cn/work/all/1"><?= ($tid == '1') ? '<strong>图片作品</strong>' : '图片作品' ?></a> | <a href="http://darenshow.lovenest.cn/work/all/0"><?= ($tid == '0') ? '<strong>视频作品</strong>' : '视频作品' ?></a></div>
							</div>
							<div class="list">
								<ul>
									<?php foreach($results->result() as $row):?>
									<li>
										<div class="pic"><a href="/work/show/<?= $row->id ?>"><img src="<?= ( $row->type == '0' ) ? getimg($row->content) : $row->thumb ?>" alt="<?= $row->name ?> - <?= $row->title ?>" title="<?= $row->name ?> - <?= $row->title ?>" /></a></div>
										<div class="info">
											<p>[<?= ( $row->type == 0 )?"视频":"图片" ?>]<a href="/work/show/<?= $row->id ?>"><?= $row->title ?></a></p>
											<p><?= $row->name ?>(<?= $row->age ?>岁)</p>
										</div>
										<div class="vote"><a href="javascript:void(0);" onclick="vote(<?= $row->id ?>);">投票</a></div>
									</li>
									<?php endforeach; ?>
								</ul>
								<?= $pagination ?>
							</div>
						</div>
						<div class="fr">
							<div class="tt">
								<div class="pic-title"><img src="/src/vote/1/t2_2.jpg" alt="排行榜" title="排行榜" /></div>
							</div>
							<div class="toplist">
								<ul>
									<?php
										$i = 1;
										foreach($top->result() as $row):
									?>
									<li class="top<?= $i ?>">
										<div class="order"><?= $i ?></div>
										<div class="info"><a href="/work/show/<?= $row->id ?>" title="参赛作品：<?= $row->title ?>"><?= $row->name ?>(<?= $row->age ?>岁)</a><strong><?= $row->cont ?>票</strong></div>
									</li>
									<?php
										$i = $i + 1;
										endforeach;
									?>
								</ul>
							</div>
							<div class="tt">
								<div class="pic-title"><img src="/src/vote/1/t2_4.jpg" alt="微博互动" title="微博互动" /></div>
							</div>
							<div class="weibo">
								<iframe width="280" height="800" frameborder="0" scrolling="no" src="http://widget.weibo.com/weiboshow/index.php?language=&width=280&height=800&fansRow=1&ptype=1&speed=0&skin=9&isTitle=1&noborder=1&isWeibo=1&isFans=1&uid=1965739222&verifier=05eec98a&dpc=1" class="share_self"></iframe>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<?php $this->load->view('footer');?>
</body>
</html>